﻿
    public class CommonFunctions
    {
        public static int getDateTime() => dateTime2Int(DateTime.Now);

        public static int dateTime2Int(DateTime date) => date.Year * 10000 + date.Month * 100 + date.Day;
    }